package com.tianyi.lib.result;

import java.util.List;

public class BaseMenuResult {
        private String key;
        private String icon;
        private String title;
        private String url;

    private List<BaseMenuResult> Children;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<BaseMenuResult> getChildren() {
        return Children;
    }

    public void setChildren(List<BaseMenuResult> children) {
        Children = children;
    }

    @Override
    public String toString() {
        return "BaseMenuResult{" +
                "key='" + key + '\'' +
                ", icon='" + icon + '\'' +
                ", title='" + title + '\'' +
                ", url='" + url + '\'' +
                ", Children=" + Children +
                '}';
    }
}
